#region "DevelopmentLibraryFoldersExtensions"

/*
 * ####     Developer Name : Wang Yucai
 * 
 * ####     Development Tool : Microsoft VisualStudio 2010 Ultimate Edition
 * 
 * ####     Create Time : 2014-07-09 10:46:11
 * 
 * ####     Namespace : Masterduner.SourceStudio.Practices.DevelopmentLibrary.Environments
 * 
 * ####     Type Name : DevelopmentLibraryFoldersExtensions
 * 
 * ####     Full Name : Masterduner.SourceStudio.Practices.DevelopmentLibrary.Environments.DevelopmentLibraryFoldersExtensions
 * 
 * ####     Machine Name : GLCHQWYCWINW7
 * 
 * ####     UserName : GUOCOLAND/wangyucai
 * 
 * ####     CLR Version : 4.0.30319.18444
 * 
 * ####     Target Framework Version : 4.0
 */

#endregion


namespace Masterduner.SourceStudio.Practices.DevelopmentLibrary.Environments
{
    /// <summary>
    /// <para>Masterduner.SourceStudio.Practices.DevelopmentLibrary.Environments.DevelopmentLibraryFoldersExtensions</para>
    /// <para>
    /// 为<see cref="DevelopmentLibraryFolders"/>提供的扩展方法。
    /// </para>
    /// </summary>
    /// <remarks>
    /// <para>Target Framework Version : 4.0</para>
    /// </remarks>
    public static class DevelopmentLibraryFoldersExtensions
    {
        #region GetFolderName
        /// <summary>
        /// 获取<paramref name="current"/>对应的文件夹名称。
        /// </summary>
        /// <param name="current"><see cref="DevelopmentLibraryFolders"/>中的一个值。</param>
        /// <returns>文件夹名称。</returns>
        static public string GetFolderName(this DevelopmentLibraryFolders current)
        {
            string folderName = string.Empty;
            switch (current)
            {
                case DevelopmentLibraryFolders.Assemblies: folderName = "Assemblies"; break;
                case DevelopmentLibraryFolders.Configs: folderName = "Configuration Files"; break;
                case DevelopmentLibraryFolders.Documents: folderName = "Documentation"; break;
                case DevelopmentLibraryFolders.Utilities: folderName = "Utility"; break;
                case DevelopmentLibraryFolders.XmlSchemas: folderName = "XSchemas"; break;
            }
            return folderName;
        }
        #endregion
    }
}

#region README

/*
 * ####     ©2014 Wang Yucai
 * 
 * ####     Contact me
 *                  
 *                  E-mail : Masterduner@Yeah.net
 *                  Mobile : 13621384677
 *                  QQ : 180261899
 */

#endregion